<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"> <style>
	.KEYW {color: #933;}
	.COMM {color: #bbb; font-style: italic;}
	.NUMB {color: #393;}
	.STRN {color: #393;}
	.REGX {color: #339;}
	.linenumber {border-right: 1px dotted #666; color: #666; font-style: normal;}
	</style></head><body><pre><span class='linenumber'>  1</span> <span class="COMM">/*floating: 2112SnapIn that would show content in free flowing panels
<span class='linenumber'>  2</span> 
<span class='linenumber'>  3</span>  A snapIn needs to have a function to be hooked up by the portal system.
<span class='linenumber'>  4</span> 
<span class='linenumber'>  5</span> */</span><span class="WHIT">
<span class='linenumber'>  6</span> 
<span class='linenumber'>  7</span> </span><span class="COMM">/*
<span class='linenumber'>  8</span>   Create your own !UNIQUE! Namespace by using the JAVA convention of
<span class='linenumber'>  9</span>   reversing your domain name or get a key from 2112Portals, or generate a GUID
<span class='linenumber'> 10</span>   The Problem with domains are:
<span class='linenumber'> 11</span>   1. You could not use domains starting with numbers (like ours 2112Portals.com)
<span class='linenumber'> 12</span>      Since JS does not eval variable starting with numbers.
<span class='linenumber'> 13</span>      So you could circumvent it by adding an underscore.
<span class='linenumber'> 14</span>   2. Well - for every dot-separated string an object would be created.
<span class='linenumber'> 15</span>      So on large Portals with many snapIns this may cause some performance
<span class='linenumber'> 16</span>      issues on the clients.
<span class='linenumber'> 17</span>   3. My recommendation: 
<span class='linenumber'> 18</span>      Use a single unique ID i.e. turn the dots in your Domain Name 
<span class='linenumber'> 19</span>      into myDomain_de/myDomain_net.
<span class='linenumber'> 20</span> */</span><span class="WHIT">
<span class='linenumber'> 21</span> </span><span class="NAME">NS2112.requires</span><span class="PUNC">(</span><span class="STRN">"container"</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="KEYW">false</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'> 22</span> 
<span class='linenumber'> 23</span> </span><span class="COMM">//NS2112.loadCSS("/yui/build/container/assets/container.css") ;</span><span class="WHIT">
<span class='linenumber'> 24</span> 
<span class='linenumber'> 25</span> 
<span class='linenumber'> 26</span> 
<span class='linenumber'> 27</span> </span><span class="WHIT">		</span><span class="COMM">// BEGIN RESIZEPANEL SUBCLASS //</span><span class="WHIT">
<span class='linenumber'> 28</span> </span><span class="WHIT">				</span><span class="NAME">YAHOO.widget._2112ResizePanel_</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="PUNC">(</span><span class="NAME">theWindowMan</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">el</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">userConfig</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'> 29</span> </span><span class="WHIT">               </span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">arguments.length</span><span class="WHIT"> </span><span class="PUNC">></span><span class="WHIT"> </span><span class="NUMB">0</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'> 30</span> </span><span class="WHIT">                  </span><span class="NAME">this.WindowName</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">el</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">  </span><span class="WHIT">
<span class='linenumber'> 31</span> </span><span class="WHIT">                  </span><span class="NAME">this.WindowManager</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">theWindowMan</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">                 </span><span class="WHIT">
<span class='linenumber'> 32</span> </span><span class="WHIT">						</span><span class="NAME">YAHOO.widget._2112ResizePanel_.superclass.constructor.call</span><span class="PUNC">(</span><span class="KEYW">this</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">el</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">userConfig</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">                  </span><span class="WHIT">
<span class='linenumber'> 33</span> </span><span class="WHIT">					</span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'> 34</span> </span><span class="WHIT">               </span><span class="NAME">this.ddResize</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">null</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'> 35</span> </span><span class="WHIT">				</span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'> 36</span> 
<span class='linenumber'> 37</span> </span><span class="WHIT">				</span><span class="NAME">YAHOO.extend</span><span class="PUNC">(</span><span class="NAME">YAHOO.widget._2112ResizePanel_</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">YAHOO.widget.Panel</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">            </span><span class="WHIT">
<span class='linenumber'> 38</span> </span><span class="WHIT">				</span><span class="NAME">YAHOO.widget._2112ResizePanel_.CSS_PANEL_RESIZE</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="STRN">"resizepanel"</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'> 39</span> </span><span class="WHIT">				</span><span class="NAME">YAHOO.widget._2112ResizePanel_.CSS_RESIZE_HANDLE</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="STRN">"resizehandle"</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'> 40</span> 
<span class='linenumber'> 41</span> </span><span class="WHIT">				</span><span class="NAME">YAHOO.widget._2112ResizePanel_.prototype.init</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="PUNC">(</span><span class="NAME">el</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">userConfig</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'> 42</span> </span><span class="WHIT">					</span><span class="NAME">YAHOO.widget._2112ResizePanel_.superclass.init.call</span><span class="PUNC">(</span><span class="KEYW">this</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">el</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'> 43</span> </span><span class="WHIT">					</span><span class="NAME">this.beforeInitEvent.fire</span><span class="PUNC">(</span><span class="NAME">YAHOO.widget._2112ResizePanel_</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'> 44</span> 
<span class='linenumber'> 45</span> </span><span class="WHIT">					</span><span class="NAME">YAHOO.util.Dom.addClass</span><span class="PUNC">(</span><span class="NAME">this.innerElement</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">YAHOO.widget._2112ResizePanel_.CSS_PANEL_RESIZE</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'> 46</span> 
<span class='linenumber'> 47</span> </span><span class="WHIT">					</span><span class="NAME">this.resizeHandle</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">document.createElement</span><span class="PUNC">(</span><span class="STRN">"DIV"</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'> 48</span> </span><span class="WHIT">					</span><span class="NAME">this.resizeHandle.id</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">this.id</span><span class="WHIT"> </span><span class="PUNC">+</span><span class="WHIT"> </span><span class="STRN">"_r"</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'> 49</span> </span><span class="WHIT">					</span><span class="NAME">this.resizeHandle.className</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">YAHOO.widget._2112ResizePanel_.CSS_RESIZE_HANDLE</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'> 50</span> </span><span class="WHIT">				   </span><span class="COMM">//</span><span class="WHIT">
<span class='linenumber'> 51</span> 
<span class='linenumber'> 52</span> </span><span class="WHIT">               </span><span class="NAME">this.getDD</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="PUNC">{</span><span class="KEYW">return</span><span class="WHIT"> </span><span class="NAME">this.ddResize</span><span class="PUNC">;</span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'> 53</span> 
<span class='linenumber'> 54</span> 
<span class='linenumber'> 55</span> </span><span class="WHIT">                    </span><span class="NAME">this.beforeShowEvent.subscribe</span><span class="PUNC">(</span><span class="KEYW">function</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'> 56</span> 
<span class='linenumber'> 57</span> </span><span class="WHIT">                        </span><span class="NAME">this.body.style.overflow</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="STRN">"auto"</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'> 58</span> </span><span class="WHIT">                    </span><span class="WHIT">
<span class='linenumber'> 59</span> </span><span class="WHIT">                    </span><span class="PUNC">}</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="KEYW">this</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="KEYW">true</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'> 60</span> 
<span class='linenumber'> 61</span> 
<span class='linenumber'> 62</span> </span><span class="WHIT">                    </span><span class="NAME">this.beforeHideEvent.subscribe</span><span class="PUNC">(</span><span class="KEYW">function</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'> 63</span> 
<span class='linenumber'> 64</span> </span><span class="WHIT">                        </span><span class="COMM">/*
<span class='linenumber'> 65</span>                              Set the CSS "overflow" property to "hidden" before
<span class='linenumber'> 66</span>                              hiding the panel to prevent the scrollbars from 
<span class='linenumber'> 67</span>                              bleeding through on Firefox for OS X.
<span class='linenumber'> 68</span>                         */</span><span class="WHIT">
<span class='linenumber'> 69</span> 
<span class='linenumber'> 70</span> </span><span class="WHIT">                        </span><span class="NAME">this.body.style.overflow</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="STRN">"hidden"</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'> 71</span> </span><span class="WHIT">                        </span><span class="NAME">this.WindowManager.hideContent</span><span class="PUNC">(</span><span class="KEYW">this</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'> 72</span> </span><span class="WHIT">                    </span><span class="WHIT">
<span class='linenumber'> 73</span> </span><span class="WHIT">                    </span><span class="PUNC">}</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="KEYW">this</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="KEYW">true</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'> 74</span> 
<span class='linenumber'> 75</span> 
<span class='linenumber'> 76</span> </span><span class="WHIT">					</span><span class="NAME">this.beforeRenderEvent.subscribe</span><span class="PUNC">(</span><span class="KEYW">function</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'> 77</span> 
<span class='linenumber'> 78</span> </span><span class="WHIT">                        </span><span class="COMM">/*
<span class='linenumber'> 79</span>                              Set the CSS "overflow" property to "hidden" by
<span class='linenumber'> 80</span>                              default to prevent the scrollbars from bleeding
<span class='linenumber'> 81</span>                              through on Firefox for OS X.
<span class='linenumber'> 82</span>                         */</span><span class="WHIT">
<span class='linenumber'> 83</span> 
<span class='linenumber'> 84</span> </span><span class="WHIT">                        </span><span class="NAME">this.body.style.overflow</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="STRN">"hidden"</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'> 85</span> 
<span class='linenumber'> 86</span> </span><span class="WHIT">                        </span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="PUNC">!</span><span class="WHIT"> </span><span class="NAME">this.footer</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'> 87</span> </span><span class="WHIT">                            </span><span class="NAME">this.setFooter</span><span class="PUNC">(</span><span class="STRN">""</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'> 88</span> </span><span class="WHIT">                        </span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'> 89</span> 
<span class='linenumber'> 90</span> </span><span class="WHIT">                    </span><span class="PUNC">}</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="KEYW">this</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="KEYW">true</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'> 91</span> 
<span class='linenumber'> 92</span> </span><span class="NAME">this.dragEvent.subscribe</span><span class="PUNC">(</span><span class="KEYW">function</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="PUNC">{</span><span class="WHIT">             </span><span class="WHIT">
<span class='linenumber'> 93</span> </span><span class="WHIT">            </span><span class="NAME">this.WindowMan.hideOnDrag</span><span class="PUNC">(</span><span class="KEYW">this</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">            </span><span class="WHIT">
<span class='linenumber'> 94</span> </span><span class="WHIT">            </span><span class="PUNC">}</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'> 95</span> 
<span class='linenumber'> 96</span> 
<span class='linenumber'> 97</span> 
<span class='linenumber'> 98</span> 
<span class='linenumber'> 99</span> </span><span class="WHIT">					</span><span class="NAME">this.renderEvent.subscribe</span><span class="PUNC">(</span><span class="KEYW">function</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'>100</span> </span><span class="WHIT">						</span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">me</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">this</span><span class="PUNC">;</span><span class="WHIT">						</span><span class="WHIT">
<span class='linenumber'>101</span> </span><span class="WHIT">						</span><span class="NAME">me.innerElement.appendChild</span><span class="PUNC">(</span><span class="NAME">me.resizeHandle</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>102</span> </span><span class="WHIT">						</span><span class="NAME">this.ddResize</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">new</span><span class="WHIT"> </span><span class="NAME">YAHOO.util.DragDrop</span><span class="PUNC">(</span><span class="NAME">this.resizeHandle.id</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">this.id</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>103</span> </span><span class="WHIT">						</span><span class="NAME">this.ddResize.setHandleElId</span><span class="PUNC">(</span><span class="NAME">this.resizeHandle.id</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>104</span> </span><span class="WHIT">                  </span><span class="NAME">this.ddResize.invalidHandleIds</span><span class="PUNC">[</span><span class="STRN">"myAssociatedWindowName"</span><span class="PUNC">]</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">this.WindowName</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>105</span> </span><span class="WHIT">						</span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">headerHeight</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">me.header.offsetHeight</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>106</span> </span><span class="COMM">//important to initialize the Height of our Body, since else it would populate only a part of the window.</span><span class="WHIT">
<span class='linenumber'>107</span> </span><span class="NAME">me.body.style.height</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">parseInt</span><span class="PUNC">(</span><span class="NAME">me.cfg.config</span><span class="PUNC">[</span><span class="STRN">"height"</span><span class="PUNC">]</span><span class="PUNC">.</span><span class="NAME">value</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NUMB">10</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">-</span><span class="WHIT"> </span><span class="NUMB">10</span><span class="WHIT"> </span><span class="PUNC">-</span><span class="WHIT"> </span><span class="NAME">me.footer.offsetHeight</span><span class="WHIT"> </span><span class="PUNC">-</span><span class="WHIT"> </span><span class="NAME">me.header.offsetHeight</span><span class="WHIT"> </span><span class="PUNC">-</span><span class="WHIT"> </span><span class="NUMB">3</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">+</span><span class="WHIT"> </span><span class="STRN">"px"</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>108</span> 
<span class='linenumber'>109</span> 
<span class='linenumber'>110</span> </span><span class="WHIT">          </span><span class="WHIT">
<span class='linenumber'>111</span> 
<span class='linenumber'>112</span> </span><span class="WHIT">					   </span><span class="NAME">this.ddResize.onMouseUp</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="PUNC">(</span><span class="NAME">e</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'>113</span> </span><span class="WHIT">						     </span><span class="NAME">this.WindowMan.showAll</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>114</span> </span><span class="WHIT">							</span><span class="WHIT">
<span class='linenumber'>115</span> </span><span class="WHIT">						</span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'>116</span> </span><span class="WHIT">						</span><span class="WHIT">
<span class='linenumber'>117</span> 
<span class='linenumber'>118</span> 
<span class='linenumber'>119</span> </span><span class="WHIT">						</span><span class="NAME">this.ddResize.onMouseDown</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="PUNC">(</span><span class="NAME">e</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'>120</span> 
<span class='linenumber'>121</span> </span><span class="WHIT">							</span><span class="NAME">this.startWidth</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">me.innerElement.offsetWidth</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>122</span> </span><span class="WHIT">							</span><span class="NAME">this.startHeight</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">me.innerElement.offsetHeight</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>123</span> </span><span class="WHIT">							</span><span class="WHIT">
<span class='linenumber'>124</span> </span><span class="WHIT">							</span><span class="NAME">me.cfg.setProperty</span><span class="PUNC">(</span><span class="STRN">"width"</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">this.startWidth</span><span class="WHIT"> </span><span class="PUNC">+</span><span class="WHIT"> </span><span class="STRN">"px"</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>125</span> </span><span class="WHIT">							</span><span class="NAME">me.cfg.setProperty</span><span class="PUNC">(</span><span class="STRN">"height"</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">this.startHeight</span><span class="WHIT"> </span><span class="PUNC">+</span><span class="WHIT"> </span><span class="STRN">"px"</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>126</span> 
<span class='linenumber'>127</span> </span><span class="WHIT">							</span><span class="NAME">this.startPos</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="PUNC">[</span><span class="NAME">YAHOO.util.Event.getPageX</span><span class="PUNC">(</span><span class="NAME">e</span><span class="PUNC">)</span><span class="PUNC">,</span><span class="WHIT">
<span class='linenumber'>128</span> </span><span class="WHIT">											 </span><span class="NAME">YAHOO.util.Event.getPageY</span><span class="PUNC">(</span><span class="NAME">e</span><span class="PUNC">)</span><span class="PUNC">]</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>129</span> 
<span class='linenumber'>130</span> </span><span class="WHIT">							</span><span class="NAME">me.innerElement.style.overflow</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="STRN">"hidden"</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>131</span> </span><span class="WHIT">							</span><span class="NAME">me.body.style.overflow</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="STRN">"auto"</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>132</span> </span><span class="WHIT">                     </span><span class="NAME">this.WindowMan.setFocus</span><span class="PUNC">(</span><span class="NAME">this.invalidHandleIds</span><span class="PUNC">[</span><span class="STRN">"myAssociatedWindowName"</span><span class="PUNC">]</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>133</span> </span><span class="WHIT">                     </span><span class="WHIT">
<span class='linenumber'>134</span> </span><span class="WHIT">						</span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'>135</span> </span><span class="COMM">//Wird ausgef�hrt, wenn das DragHandle gezogen wird.</span><span class="WHIT">
<span class='linenumber'>136</span> </span><span class="WHIT">						</span><span class="WHIT">
<span class='linenumber'>137</span> </span><span class="WHIT">						</span><span class="NAME">this.ddResize.onDrag</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="PUNC">(</span><span class="NAME">e</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'>138</span> </span><span class="WHIT">							</span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">newPos</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="PUNC">[</span><span class="NAME">YAHOO.util.Event.getPageX</span><span class="PUNC">(</span><span class="NAME">e</span><span class="PUNC">)</span><span class="PUNC">,</span><span class="WHIT">
<span class='linenumber'>139</span> </span><span class="WHIT">										  </span><span class="NAME">YAHOO.util.Event.getPageY</span><span class="PUNC">(</span><span class="NAME">e</span><span class="PUNC">)</span><span class="PUNC">]</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>140</span> 
<span class='linenumber'>141</span> 
<span class='linenumber'>142</span> </span><span class="NAME">this.WindowMan.hideOnDrag</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>143</span> 
<span class='linenumber'>144</span> </span><span class="WHIT">							</span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">offsetX</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">newPos</span><span class="PUNC">[</span><span class="NUMB">0</span><span class="PUNC">]</span><span class="WHIT"> </span><span class="PUNC">-</span><span class="WHIT"> </span><span class="NAME">this.startPos</span><span class="PUNC">[</span><span class="NUMB">0</span><span class="PUNC">]</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>145</span> </span><span class="WHIT">							</span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">offsetY</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">newPos</span><span class="PUNC">[</span><span class="NUMB">1</span><span class="PUNC">]</span><span class="WHIT"> </span><span class="PUNC">-</span><span class="WHIT"> </span><span class="NAME">this.startPos</span><span class="PUNC">[</span><span class="NUMB">1</span><span class="PUNC">]</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>146</span> </span><span class="WHIT">					</span><span class="WHIT">
<span class='linenumber'>147</span> </span><span class="WHIT">							</span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">newWidth</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">Math.max</span><span class="PUNC">(</span><span class="NAME">this.startWidth</span><span class="WHIT"> </span><span class="PUNC">+</span><span class="WHIT"> </span><span class="NAME">offsetX</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NUMB">10</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>148</span> </span><span class="WHIT">							</span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">newHeight</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">Math.max</span><span class="PUNC">(</span><span class="NAME">this.startHeight</span><span class="WHIT"> </span><span class="PUNC">+</span><span class="WHIT"> </span><span class="NAME">offsetY</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NUMB">10</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>149</span> 
<span class='linenumber'>150</span> </span><span class="WHIT">							</span><span class="NAME">me.cfg.setProperty</span><span class="PUNC">(</span><span class="STRN">"width"</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">newWidth</span><span class="WHIT"> </span><span class="PUNC">+</span><span class="WHIT"> </span><span class="STRN">"px"</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>151</span> </span><span class="WHIT">							</span><span class="NAME">me.cfg.setProperty</span><span class="PUNC">(</span><span class="STRN">"height"</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">newHeight</span><span class="WHIT"> </span><span class="PUNC">+</span><span class="WHIT"> </span><span class="STRN">"px"</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>152</span> 
<span class='linenumber'>153</span> </span><span class="COMM">//Die 10 kann ver�ndert werden, damit der untere Bereich f. das</span><span class="WHIT">
<span class='linenumber'>154</span> </span><span class="COMM">//DragHandle entsprechend Platz bietet.</span><span class="WHIT">
<span class='linenumber'>155</span> 
<span class='linenumber'>156</span> </span><span class="WHIT">							</span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">bodyHeight</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">newHeight</span><span class="WHIT"> </span><span class="PUNC">-</span><span class="WHIT"> </span><span class="NUMB">10</span><span class="WHIT"> </span><span class="PUNC">-</span><span class="WHIT"> </span><span class="NAME">me.footer.offsetHeight</span><span class="WHIT"> </span><span class="PUNC">-</span><span class="WHIT"> </span><span class="NAME">me.header.offsetHeight</span><span class="WHIT"> </span><span class="PUNC">-</span><span class="WHIT"> </span><span class="NUMB">3</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>157</span> </span><span class="WHIT">							</span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">bodyHeight</span><span class="WHIT"> </span><span class="PUNC">&lt;</span><span class="WHIT"> </span><span class="NUMB">0</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'>158</span> </span><span class="WHIT">								</span><span class="NAME">bodyHeight</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NUMB">0</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>159</span> </span><span class="WHIT">							</span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'>160</span> 
<span class='linenumber'>161</span> </span><span class="WHIT">							</span><span class="NAME">me.body.style.height</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT">  </span><span class="NAME">bodyHeight</span><span class="WHIT"> </span><span class="PUNC">+</span><span class="WHIT"> </span><span class="STRN">"px"</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>162</span> 
<span class='linenumber'>163</span> </span><span class="WHIT">							</span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">innerHeight</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">me.innerElement.offsetHeight</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>164</span> </span><span class="WHIT">							</span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">innerWidth</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">me.innerElement.offsetWidth</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>165</span> 
<span class='linenumber'>166</span> </span><span class="WHIT">							</span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">innerHeight</span><span class="WHIT"> </span><span class="PUNC">&lt;</span><span class="WHIT"> </span><span class="NAME">headerHeight</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'>167</span> </span><span class="WHIT">								</span><span class="NAME">me.innerElement.style.height</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">headerHeight</span><span class="WHIT"> </span><span class="PUNC">+</span><span class="WHIT"> </span><span class="STRN">"px"</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>168</span> </span><span class="WHIT">							</span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'>169</span> 
<span class='linenumber'>170</span> </span><span class="WHIT">							</span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">innerWidth</span><span class="WHIT"> </span><span class="PUNC">&lt;</span><span class="WHIT"> </span><span class="NUMB">100</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'>171</span> </span><span class="WHIT">								</span><span class="NAME">me.innerElement.style.width</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="STRN">"100px"</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>172</span> </span><span class="WHIT">							</span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'>173</span> 
<span class='linenumber'>174</span> 
<span class='linenumber'>175</span> 
<span class='linenumber'>176</span> 
<span class='linenumber'>177</span> </span><span class="WHIT">							</span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">myIFrame</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">document.getElementById</span><span class="PUNC">(</span><span class="NAME">me.WindowName</span><span class="WHIT"> </span><span class="PUNC">+</span><span class="WHIT"> </span><span class="STRN">'_iFrame'</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>178</span> </span><span class="WHIT">							</span><span class="KEYW">if</span><span class="PUNC">(</span><span class="WHIT"> </span><span class="NAME">myIFrame</span><span class="WHIT"> </span><span class="PUNC">!=</span><span class="WHIT"> </span><span class="KEYW">null</span><span class="WHIT"> </span><span class="PUNC">)</span><span class="WHIT">
<span class='linenumber'>179</span> </span><span class="WHIT">							</span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'>180</span> </span><span class="WHIT">								</span><span class="NAME">myIFrame.height</span><span class="WHIT">  </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="STRN">'100%'</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT"> </span><span class="COMM">//bodyHeight ;</span><span class="WHIT">
<span class='linenumber'>181</span> </span><span class="WHIT">								</span><span class="NAME">myIFrame.width</span><span class="WHIT">  </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="STRN">'100%'</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">  </span><span class="COMM">//newWidth - constScrollbarExt ;</span><span class="WHIT">
<span class='linenumber'>182</span> </span><span class="WHIT">							</span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'>183</span> 
<span class='linenumber'>184</span> </span><span class="WHIT">						</span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'>185</span> 
<span class='linenumber'>186</span> </span><span class="WHIT">					</span><span class="PUNC">}</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="KEYW">this</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="KEYW">true</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>187</span> 
<span class='linenumber'>188</span> </span><span class="WHIT">					</span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">userConfig</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'>189</span> </span><span class="WHIT">						</span><span class="NAME">this.cfg.applyConfig</span><span class="PUNC">(</span><span class="NAME">userConfig</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="KEYW">true</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>190</span> </span><span class="WHIT">					</span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'>191</span> 
<span class='linenumber'>192</span> </span><span class="WHIT">					</span><span class="NAME">this.initEvent.fire</span><span class="PUNC">(</span><span class="NAME">YAHOO.widget._2112ResizePanel_</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>193</span> </span><span class="WHIT">				</span><span class="PUNC">}</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>194</span> 
<span class='linenumber'>195</span> </span><span class="WHIT">				</span><span class="NAME">YAHOO.widget._2112ResizePanel_.prototype.toString</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'>196</span> </span><span class="WHIT">						</span><span class="KEYW">return</span><span class="WHIT"> </span><span class="STRN">"ResizePanel "</span><span class="WHIT"> </span><span class="PUNC">+</span><span class="WHIT"> </span><span class="NAME">this.id</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>197</span> </span><span class="WHIT">				</span><span class="PUNC">}</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>198</span> </span><span class="WHIT">				</span><span class="WHIT">
<span class='linenumber'>199</span> </span><span class="WHIT">				</span><span class="COMM">// END RESIZEPANEL SUBCLASS //</span><span class="WHIT">
<span class='linenumber'>200</span> 
<span class='linenumber'>201</span> 
<span class='linenumber'>202</span> </span><span class="COMM">/*********************PANEL STUFF****************************************/</span><span class="WHIT">
<span class='linenumber'>203</span> 
<span class='linenumber'>204</span> </span><span class="NAME">onPanelLoaded</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="PUNC">(</span><span class="NAME">myPanel</span><span class="PUNC">)</span><span class="WHIT">
<span class='linenumber'>205</span> </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'>206</span> </span><span class="WHIT">  </span><span class="COMM">//Workaround: Firefox will show double scrollbars till Framewidth is set properly</span><span class="WHIT">
<span class='linenumber'>207</span> </span><span class="WHIT">  </span><span class="KEYW">if</span><span class="PUNC">(</span><span class="WHIT"> </span><span class="NAME">YAHOO.util.Event.isIE</span><span class="WHIT"> </span><span class="PUNC">)</span><span class="WHIT"> </span><span class="KEYW">return</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>208</span> </span><span class="WHIT">  </span><span class="COMM">/*
<span class='linenumber'>209</span>    var myOuter = document.getElementById(myPanel.WindowName + '_outer');
<span class='linenumber'>210</span> 	if( myOuter != null )
<span class='linenumber'>211</span> 	{
<span class='linenumber'>212</span>       myOuter.height  = '100%' ; 
<span class='linenumber'>213</span> 		myOuter.width  = '100%' ;  
<span class='linenumber'>214</span> 	}
<span class='linenumber'>215</span>    */</span><span class="WHIT">
<span class='linenumber'>216</span> </span><span class="WHIT">	</span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">myIFrame</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">document.getElementById</span><span class="PUNC">(</span><span class="NAME">myPanel.WindowName</span><span class="WHIT"> </span><span class="PUNC">+</span><span class="WHIT"> </span><span class="STRN">'_iFrame'</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>217</span> </span><span class="WHIT">	</span><span class="KEYW">if</span><span class="PUNC">(</span><span class="WHIT"> </span><span class="NAME">myIFrame</span><span class="WHIT"> </span><span class="PUNC">!=</span><span class="WHIT"> </span><span class="KEYW">null</span><span class="WHIT"> </span><span class="PUNC">)</span><span class="WHIT">
<span class='linenumber'>218</span> </span><span class="WHIT">	</span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'>219</span> </span><span class="WHIT">      </span><span class="NAME">myIFrame.height</span><span class="WHIT">  </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="STRN">'100%'</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT"> </span><span class="WHIT">
<span class='linenumber'>220</span> </span><span class="WHIT">		</span><span class="NAME">myIFrame.width</span><span class="WHIT">  </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="STRN">'100%'</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">  </span><span class="WHIT">
<span class='linenumber'>221</span> </span><span class="WHIT">	</span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'>222</span> </span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'>223</span> 
<span class='linenumber'>224</span> 
<span class='linenumber'>225</span> 
<span class='linenumber'>226</span> 
<span class='linenumber'>227</span> 
<span class='linenumber'>228</span> </span><span class="WHIT">		</span><span class="WHIT">
<span class='linenumber'>229</span> </span><span class="NAME">onPanelAvail</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="PUNC">(</span><span class="NAME">theWindowMan</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">myPanel</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">myTitle</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">myURL</span><span class="PUNC">,</span><span class="WHIT">  </span><span class="NAME">strWidth</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">strHeight</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">bDoCenter</span><span class="PUNC">)</span><span class="WHIT">
<span class='linenumber'>230</span> </span><span class="PUNC">{</span><span class="WHIT">  </span><span class="WHIT">
<span class='linenumber'>231</span> </span><span class="WHIT">  </span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">myIFrameSrc</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="STRN">"\""</span><span class="WHIT"> </span><span class="PUNC">+</span><span class="WHIT"> </span><span class="NAME">myURL</span><span class="WHIT"> </span><span class="PUNC">+</span><span class="WHIT"> </span><span class="STRN">"\" frameborder=\"0\"  width=\"100%\" height=\"100%\""</span><span class="WHIT"> </span><span class="PUNC">+</span><span class="WHIT">
<span class='linenumber'>232</span> </span><span class="WHIT">						</span><span class="STRN">"  align=\"center\""</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>233</span> </span><span class="WHIT">  </span><span class="NAME">myPanel.setHeader</span><span class="PUNC">(</span><span class="STRN">"&lt;div class='tl'>&lt;/div>&lt;span>"</span><span class="WHIT"> </span><span class="PUNC">+</span><span class="WHIT"> </span><span class="NAME">myTitle</span><span class="WHIT"> </span><span class="PUNC">+</span><span class="WHIT"> </span><span class="STRN">" &lt;/span>&lt;div class='tr'>&lt;/div>"</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>234</span> </span><span class="WHIT">  </span><span class="WHIT">
<span class='linenumber'>235</span> </span><span class="WHIT">  </span><span class="NAME">myPanel.setBody</span><span class="PUNC">(</span><span class="STRN">"&lt;div id=\""</span><span class="WHIT"> </span><span class="PUNC">+</span><span class="WHIT"> </span><span class="NAME">myPanel.WindowName</span><span class="WHIT"> </span><span class="PUNC">+</span><span class="WHIT"> </span><span class="WHIT">
<span class='linenumber'>236</span> </span><span class="WHIT">                  </span><span class="STRN">"_outer\" style=\"width:"</span><span class="WHIT"> </span><span class="PUNC">+</span><span class="WHIT"> </span><span class="NAME">strWidth</span><span class="WHIT"> </span><span class="PUNC">+</span><span class="WHIT"> </span><span class="STRN">";height:"</span><span class="WHIT"> </span><span class="PUNC">+</span><span class="WHIT"> </span><span class="NAME">strHeight</span><span class="WHIT"> </span><span class="PUNC">+</span><span class="WHIT"> </span><span class="STRN">"\">&lt;iframe  id=\""</span><span class="WHIT"> </span><span class="PUNC">+</span><span class="WHIT"> </span><span class="NAME">myPanel.WindowName</span><span class="WHIT"> </span><span class="PUNC">+</span><span class="WHIT"> </span><span class="WHIT">
<span class='linenumber'>237</span> </span><span class="WHIT">						</span><span class="STRN">"_iFrame\" src="</span><span class="WHIT"> </span><span class="PUNC">+</span><span class="WHIT"> </span><span class="NAME">myIFrameSrc</span><span class="WHIT"> </span><span class="PUNC">+</span><span class="WHIT"> </span><span class="STRN">">.&lt;/iframe>&lt;/div>"</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>238</span> </span><span class="WHIT">  </span><span class="NAME">myPanel.setFooter</span><span class="PUNC">(</span><span class="STRN">"&lt;div id=\"nls2112_ResizeFooter\">"</span><span class="WHIT"> </span><span class="PUNC">+</span><span class="WHIT"> </span><span class="NAME">theWindowMan.myNLS.setElementText</span><span class="PUNC">(</span><span class="STRN">"nls2112_ResizeFooter"</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">+</span><span class="WHIT"> </span><span class="STRN">"&lt;/div>"</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">  </span><span class="WHIT">
<span class='linenumber'>239</span> </span><span class="WHIT">  </span><span class="WHIT">
<span class='linenumber'>240</span> </span><span class="WHIT">  </span><span class="NAME">myPanel.render</span><span class="PUNC">(</span><span class="NAME">document.body</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>241</span> </span><span class="WHIT"> </span><span class="WHIT">
<span class='linenumber'>242</span> </span><span class="WHIT">   </span><span class="KEYW">if</span><span class="PUNC">(</span><span class="KEYW">null</span><span class="WHIT"> </span><span class="PUNC">!=</span><span class="WHIT">  </span><span class="NAME">bDoCenter</span><span class="WHIT"> </span><span class="PUNC">||</span><span class="WHIT"> </span><span class="KEYW">true</span><span class="WHIT"> </span><span class="PUNC">==</span><span class="WHIT"> </span><span class="NAME">bDoCenter</span><span class="WHIT"> </span><span class="PUNC">)</span><span class="WHIT">
<span class='linenumber'>243</span> </span><span class="WHIT">      </span><span class="NAME">myPanel.center</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>244</span> 
<span class='linenumber'>245</span> </span><span class="WHIT">  </span><span class="NAME">myPanel.show</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>246</span> </span><span class="WHIT">  </span><span class="NAME">theWindowMan.setFocus</span><span class="PUNC">(</span><span class="NAME">myPanel.WindowName</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>247</span> 
<span class='linenumber'>248</span> 
<span class='linenumber'>249</span> </span><span class="WHIT">  </span><span class="NAME">myPanel.dd.endDrag</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="PUNC">(</span><span class="NAME">e</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'>250</span> </span><span class="WHIT">			   </span><span class="NAME">theWindowMan.endDrag</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>251</span> </span><span class="WHIT">            </span><span class="NAME">theWindowMan.showContentAll</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>252</span> </span><span class="WHIT">        </span><span class="PUNC">}</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>253</span> 
<span class='linenumber'>254</span> </span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'>255</span> 
<span class='linenumber'>256</span> 
<span class='linenumber'>257</span> 
<span class='linenumber'>258</span> </span><span class="COMM">/************************************************************************/</span><span class="WHIT">
<span class='linenumber'>259</span> 
<span class='linenumber'>260</span> </span><span class="COMM">//Preferred is optional</span><span class="WHIT">
<span class='linenumber'>261</span> </span><span class="COMM">//XPos/YPos will be ignored when bDoCenter is set</span><span class="WHIT">
<span class='linenumber'>262</span> </span><span class="NAME">initPanel</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">theWindowMan</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">TargetID</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">strLink</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">iXPos</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">iYPos</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">iPreferredWidth</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">iPreferredHeight</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">bDoCenter</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'>263</span> </span><span class="WHIT">      </span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">strName</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="WHIT">
<span class='linenumber'>264</span> </span><span class="WHIT">      </span><span class="NAME">TargetID</span><span class="WHIT"> </span><span class="PUNC">+</span><span class="WHIT"> </span><span class="NAME">theWindowMan.foo</span><span class="PUNC">++</span><span class="PUNC">;</span><span class="WHIT"> </span><span class="COMM">//The key may not identically with the TargetID!!!!!</span><span class="WHIT">
<span class='linenumber'>265</span> 
<span class='linenumber'>266</span> </span><span class="WHIT">      </span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">iMaxHeight</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">YAHOO.util.Dom.getViewportHeight</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>267</span> 
<span class='linenumber'>268</span> </span><span class="WHIT">      </span><span class="COMM">//setting up defaults</span><span class="WHIT">
<span class='linenumber'>269</span> </span><span class="WHIT">      </span><span class="WHIT">
<span class='linenumber'>270</span> </span><span class="WHIT">      </span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">iWidth</span><span class="WHIT">   </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">theWindowMan.m_iWindowExtX</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>271</span> </span><span class="WHIT">      </span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">iHeight</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">theWindowMan.m_iWindowExtY</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>272</span> </span><span class="WHIT">      </span><span class="WHIT">
<span class='linenumber'>273</span> </span><span class="WHIT">      </span><span class="COMM">//the preferred Arguments would win in any case</span><span class="WHIT">
<span class='linenumber'>274</span> </span><span class="WHIT">      </span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="KEYW">typeof</span><span class="WHIT"> </span><span class="NAME">iPreferredWidth</span><span class="WHIT"> </span><span class="PUNC">!=</span><span class="WHIT"> </span><span class="STRN">'undefined'</span><span class="PUNC">)</span><span class="WHIT">                        </span><span class="WHIT">
<span class='linenumber'>275</span> </span><span class="WHIT">         </span><span class="NAME">iWidth</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">iPreferredWidth</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>276</span> </span><span class="WHIT">      </span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="KEYW">typeof</span><span class="WHIT"> </span><span class="NAME">iPreferredHeight</span><span class="WHIT"> </span><span class="PUNC">!=</span><span class="WHIT"> </span><span class="STRN">'undefined'</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="WHIT">
<span class='linenumber'>277</span> </span><span class="WHIT">         </span><span class="NAME">iHeight</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">iPreferredHeight</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>278</span> 
<span class='linenumber'>279</span> 
<span class='linenumber'>280</span> </span><span class="WHIT">     </span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="KEYW">typeof</span><span class="WHIT"> </span><span class="NAME">bDoCenter</span><span class="WHIT"> </span><span class="PUNC">==</span><span class="WHIT"> </span><span class="STRN">'undefined'</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="WHIT">
<span class='linenumber'>281</span> </span><span class="WHIT">          </span><span class="NAME">bDoCenter</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">true</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT"> </span><span class="COMM">//true by default</span><span class="WHIT">
<span class='linenumber'>282</span> </span><span class="WHIT">     </span><span class="KEYW">if</span><span class="PUNC">(</span><span class="NAME">iHeight</span><span class="WHIT"> </span><span class="PUNC">></span><span class="WHIT"> </span><span class="NAME">iMaxHeight</span><span class="WHIT"> </span><span class="PUNC">)</span><span class="WHIT"> </span><span class="NAME">iHeight</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">iMaxHeight</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>283</span> </span><span class="WHIT">     </span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">myPanel</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">new</span><span class="WHIT"> </span><span class="NAME">YAHOO.widget._2112ResizePanel_</span><span class="PUNC">(</span><span class="NAME">theWindowMan</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">strName</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="WHIT">
<span class='linenumber'>284</span> </span><span class="WHIT">         </span><span class="PUNC">{</span><span class="WHIT"> </span><span class="NAME">position</span><span class="PUNC">:</span><span class="STRN">"absolute"</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">width</span><span class="PUNC">:</span><span class="NAME">iWidth</span><span class="WHIT"> </span><span class="PUNC">+</span><span class="WHIT"> </span><span class="STRN">"px"</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">height</span><span class="PUNC">:</span><span class="WHIT"> </span><span class="NAME">iHeight</span><span class="WHIT"> </span><span class="PUNC">+</span><span class="WHIT"> </span><span class="STRN">"px"</span><span class="PUNC">,</span><span class="WHIT">                        </span><span class="WHIT">
<span class='linenumber'>285</span> </span><span class="WHIT">           </span><span class="NAME">close</span><span class="PUNC">:</span><span class="KEYW">true</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">visible</span><span class="PUNC">:</span><span class="KEYW">false</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">constraintoviewport</span><span class="PUNC">:</span><span class="KEYW">false</span><span class="WHIT"> </span><span class="PUNC">}</span><span class="WHIT"> </span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>286</span> </span><span class="WHIT">    </span><span class="WHIT">
<span class='linenumber'>287</span> </span><span class="WHIT">     </span><span class="NAME">myPanel.draggable</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">true</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">                         </span><span class="WHIT">
<span class='linenumber'>288</span> </span><span class="WHIT">     </span><span class="NAME">myPanel.WindowName</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">strName</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>289</span> 
<span class='linenumber'>290</span> </span><span class="WHIT">     </span><span class="COMM">//myPanel.showIframe() ;  //diese anweisung l�sst u.U. den Cursor in Eingabefeldern verschwinden.</span><span class="WHIT">
<span class='linenumber'>291</span> </span><span class="WHIT">     </span><span class="NAME">NS2112.portalMan.getMasterControl</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="PUNC">.</span><span class="NAME">registerOverlay</span><span class="PUNC">(</span><span class="NAME">myPanel</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>292</span> </span><span class="WHIT">     </span><span class="COMM">//important: do the onPanelAvail before Repos (Header would not be set).</span><span class="WHIT">
<span class='linenumber'>293</span> </span><span class="WHIT">      </span><span class="NAME">onPanelAvail</span><span class="PUNC">(</span><span class="NAME">theWindowMan</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">myPanel</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">TargetID</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">strLink</span><span class="PUNC">,</span><span class="WHIT">  </span><span class="STRN">"100%"</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="STRN">"100%"</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">bDoCenter</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT"> </span><span class="WHIT">
<span class='linenumber'>294</span> </span><span class="WHIT">      </span><span class="KEYW">if</span><span class="PUNC">(</span><span class="NAME">iXPos</span><span class="WHIT"> </span><span class="PUNC">!=</span><span class="WHIT"> </span><span class="KEYW">null</span><span class="WHIT"> </span><span class="PUNC">&&</span><span class="WHIT"> </span><span class="NAME">iYPos</span><span class="WHIT"> </span><span class="PUNC">!=</span><span class="WHIT"> </span><span class="KEYW">null</span><span class="PUNC">)</span><span class="WHIT">
<span class='linenumber'>295</span> </span><span class="WHIT">        </span><span class="NAME">theWindowMan.movePanel</span><span class="PUNC">(</span><span class="NAME">myPanel</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">iXPos</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">iYPos</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>296</span> </span><span class="WHIT">    </span><span class="WHIT">
<span class='linenumber'>297</span> </span><span class="WHIT">	  </span><span class="NAME">YAHOO.util.Event.onContentReady</span><span class="PUNC">(</span><span class="NAME">strName</span><span class="WHIT"> </span><span class="PUNC">+</span><span class="WHIT"> </span><span class="STRN">'_iFrame'</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">onPanelLoaded</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">myPanel</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">bDoCenter</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">						  </span><span class="WHIT">
<span class='linenumber'>298</span> </span><span class="WHIT">     </span><span class="COMM">//return false ; //do NOT return anything - this would spoil the app.</span><span class="WHIT">
<span class='linenumber'>299</span> </span><span class="WHIT">     </span><span class="KEYW">return</span><span class="WHIT"> </span><span class="NAME">myPanel</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>300</span> </span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'>301</span> 
<span class='linenumber'>302</span> 
<span class='linenumber'>303</span> 
<span class='linenumber'>304</span> </span><span class="NAME">NS2112.namespace</span><span class="PUNC">(</span><span class="STRN">"INTRINSICS"</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>305</span> 
<span class='linenumber'>306</span> </span><span class="NAME">NS2112.INTRINSICS.snapFlowContent12</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="PUNC">(</span><span class="NAME">el</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">userConfig</span><span class="PUNC">)</span><span class="WHIT">
<span class='linenumber'>307</span> </span><span class="PUNC">{</span><span class="WHIT">  </span><span class="WHIT">
<span class='linenumber'>308</span> </span><span class="WHIT">   </span><span class="NAME">this.constructor.superclass.constructor.call</span><span class="PUNC">(</span><span class="KEYW">this</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">el</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">userConfig</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>309</span> </span><span class="WHIT">   </span><span class="NAME">this.Title</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="STRN">"2112Floating Content"</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>310</span> </span><span class="WHIT">   </span><span class="NAME">this.Name</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="STRN">'flowContent12'</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>311</span> </span><span class="WHIT">   </span><span class="NAME">this.Width</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NUMB">600</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>312</span> </span><span class="WHIT">   </span><span class="NAME">this.Height</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NUMB">500</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>313</span> </span><span class="WHIT">   </span><span class="NAME">this.Intrinsic</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">true</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>314</span> </span><span class="WHIT">   </span><span class="NAME">this.IntrinsicType</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="STRN">'content'</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>315</span> </span><span class="WHIT">   </span><span class="NAME">this.IntrinsicObject</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">null</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>316</span> </span><span class="WHIT">   </span><span class="WHIT">
<span class='linenumber'>317</span> </span><span class="WHIT">   </span><span class="COMM">//The load callback - load your stuff here</span><span class="WHIT">
<span class='linenumber'>318</span> </span><span class="WHIT">   </span><span class="NAME">this.load</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="PUNC">(</span><span class="NAME">myDiv</span><span class="PUNC">)</span><span class="WHIT">
<span class='linenumber'>319</span> </span><span class="WHIT">   </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'>320</span> </span><span class="WHIT">   </span><span class="WHIT">
<span class='linenumber'>321</span> </span><span class="WHIT">   </span><span class="WHIT">
<span class='linenumber'>322</span> </span><span class="WHIT">        </span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">myWM</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">NS2112.getWindowManager</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT"> </span><span class="WHIT">
<span class='linenumber'>323</span> </span><span class="WHIT"> </span><span class="COMM">//       myWM.selfTest() ;   </span><span class="WHIT">
<span class='linenumber'>324</span> </span><span class="WHIT">        </span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">panel</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">initPanel</span><span class="PUNC">(</span><span class="NAME">myWM</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="STRN">'TestPanel'</span><span class="PUNC">,</span><span class="WHIT">
<span class='linenumber'>325</span> </span><span class="WHIT">                         </span><span class="STRN">'http://www.google.de'</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="WHIT">
<span class='linenumber'>326</span> </span><span class="WHIT">                         </span><span class="NUMB">10</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="WHIT">
<span class='linenumber'>327</span> </span><span class="WHIT">                         </span><span class="NUMB">10</span><span class="PUNC">,</span><span class="WHIT">
<span class='linenumber'>328</span> </span><span class="WHIT">                         </span><span class="NAME">this.Width</span><span class="PUNC">,</span><span class="WHIT">
<span class='linenumber'>329</span> </span><span class="WHIT">                         </span><span class="NAME">this.Height</span><span class="PUNC">,</span><span class="WHIT">
<span class='linenumber'>330</span> </span><span class="WHIT">                         </span><span class="KEYW">false</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>331</span> </span><span class="WHIT">        </span><span class="WHIT">
<span class='linenumber'>332</span> </span><span class="WHIT">        </span><span class="NAME">myWM.setFocus</span><span class="PUNC">(</span><span class="NAME">panel.WindowName</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>333</span> 
<span class='linenumber'>334</span> </span><span class="WHIT">        </span><span class="KEYW">return</span><span class="WHIT"> </span><span class="NAME">myDiv</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>335</span> </span><span class="WHIT">   </span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'>336</span> 
<span class='linenumber'>337</span> </span><span class="WHIT">   </span><span class="NAME">this.unload</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT">
<span class='linenumber'>338</span> </span><span class="WHIT">   </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'>339</span> </span><span class="WHIT">      </span><span class="WHIT">
<span class='linenumber'>340</span> </span><span class="WHIT">   </span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'>341</span> </span><span class="WHIT">   </span><span class="COMM">//remember? - u need a unique name. </span><span class="WHIT">
<span class='linenumber'>342</span> </span><span class="WHIT">   </span><span class="WHIT">
<span class='linenumber'>343</span> </span><span class="WHIT">     </span><span class="WHIT">
<span class='linenumber'>344</span> </span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'>345</span> 
<span class='linenumber'>346</span> </span><span class="NAME">NS2112.extend</span><span class="PUNC">(</span><span class="NAME">NS2112.INTRINSICS.snapFlowContent12</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">NS2112.snapIn12</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>347</span> </span><span class="COMM">//NS2112.registerSnapIn(new NS2112.INTRINSICS.snapFlowContent12(), "com._2112_.intrinsics") ;   </span><span class="WHIT">
<span class='linenumber'>348</span> 
<span class='linenumber'>349</span> </span></pre></body></html>